package org.example.petitionplatformsystem.dao;

import org.example.petitionplatformsystem.dao.model.News;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NewsRepository extends JpaRepository<News, Long>  {
    List<News> getCategoriesByCategoryID(long id);
}
